CopyObject
Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index
Return to Main Contents
NAME
CopyObject()
SYNOPSIS
prsr_lib/allocate.c:1304
IPObjectStruct *CopyObject(IPObjectStruct *Dest,
IPObjectStruct *Src,
int CopyAll)
DESCRIPTION
Routine to create a whole new copy of an object Src into Dest.
If Dest is NULL, new object is allocated, otherwise Dest itself is
updated to hold the new copy.
If CopyAll then all the record is copied, otherwise, only its invariant
elements arebeen copied (i.e. no Name/Pnext copying).
PARAMETERS:
Dest: Destination object, possibly NULL.
Src: Source object.
CopyAll: Do we want a complete identical copy?
FUNCTION RETURN VALUE
IPObjectStruct *: Duplicate of Src, same as Dest if Dest != NULL.
ORIGIN
(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- PARAMETERS:
-
- FUNCTION RETURN VALUE
-
- ORIGIN
-
This document was created by
man2html,
using the manual pages.
Time: 07:27:17 GMT, October 17, 2022